<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Практика: Исходный файл /home/student/alekseev_semen/project/include/apidecoding.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Практика
   </div>
   <div id="projectbrief">Приложение - описание классов</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.20 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('alekseev__semen_2project_2include_2apidecoding_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">apidecoding.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="alekseev__semen_2project_2include_2apidecoding_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef APIDECODING_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define APIDECODING_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h.html">boofergh.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;decoding.h&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_api_decoding.html">    9</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_api_decoding.html">ApiDecoding</a></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_api_decoding.html#a65e93e41b0391648a7513fa0a3d4dd64">ApiDecoding</a>();</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_api_decoding.html#aabb775a11cc9ddb49da83e3665174794">add_to_boofer</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_api_decoding.html#ab98f8e9873b07e6650de0781cba0cec5">clear_boofer</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a47477b24f584d1c726662d0f2b6f7a4b">lagrange_polynom</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a2a783cb2757fb448c68d09478ad4fa2a">split_lagrange_polynom</a>(<span class="keywordtype">int</span> max_pow);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a276918950c514e65e2f0ae4b5aa2de7e">least_squares_polynom</a>(<span class="keywordtype">int</span> max_pow);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    vector&lt;double&gt; <a class="code" href="class_api_decoding.html#a6eb7a4b59adb909fcfc454bbab102f6a">polynom_with_mistake</a>(<span class="keywordtype">double</span> mistake);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#a6d24fa3a483074088e54c4a8177d05c5">squared_deviation</a>();</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#a96e463b655af86be8904d96ad389caab">correlation</a>(vector&lt;double&gt; *polynom_values);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_api_decoding.html#aa7620c3ae5f7e89e166380399954b62c">approx_mistake</a>(vector&lt;double&gt; *polynom_values);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">   79</a></span>&#160;    <a class="code" href="class_boofer_g_h.html">BooferGH</a> *<a class="code" href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">boofer</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;};</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif // APIDECODING_H</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_api_decoding_html_a6eb7a4b59adb909fcfc454bbab102f6a"><div class="ttname"><a href="class_api_decoding.html#a6eb7a4b59adb909fcfc454bbab102f6a">ApiDecoding::polynom_with_mistake</a></div><div class="ttdeci">vector&lt; double &gt; polynom_with_mistake(double mistake)</div><div class="ttdoc">polynom_with_mistake вызывает метод least_squares_polynom повышая степень, начиная с первой,...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00033">apidecoding.cpp:33</a></div></div>
<div class="ttc" id="aclass_boofer_g_h_html"><div class="ttname"><a href="class_boofer_g_h.html">BooferGH</a></div><div class="ttdoc">BooferGH - класс, хранящий данные ГХ в оперативной памяти программы (буфер)</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2boofergh_8h_source.html#l00008">boofergh.h:9</a></div></div>
<div class="ttc" id="aclass_api_decoding_html"><div class="ttname"><a href="class_api_decoding.html">ApiDecoding</a></div><div class="ttdoc">Класс ApiDecoding является аппаратно-программным интерфейсом для взаимодействия модуля mainwindow и д...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2apidecoding_8h_source.html#l00009">apidecoding.h:10</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a96e463b655af86be8904d96ad389caab"><div class="ttname"><a href="class_api_decoding.html#a96e463b655af86be8904d96ad389caab">ApiDecoding::correlation</a></div><div class="ttdeci">double correlation(vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">correlation - расчёт корреляции между значениями полиномиальной функции и значениями входных данных</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00050">apidecoding.cpp:50</a></div></div>
<div class="ttc" id="a_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h_html"><div class="ttname"><a href="_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h.html">boofergh.h</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a65e93e41b0391648a7513fa0a3d4dd64"><div class="ttname"><a href="class_api_decoding.html#a65e93e41b0391648a7513fa0a3d4dd64">ApiDecoding::ApiDecoding</a></div><div class="ttdeci">ApiDecoding()</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00003">apidecoding.cpp:3</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_ab98f8e9873b07e6650de0781cba0cec5"><div class="ttname"><a href="class_api_decoding.html#ab98f8e9873b07e6650de0781cba0cec5">ApiDecoding::clear_boofer</a></div><div class="ttdeci">void clear_boofer()</div><div class="ttdoc">clear_boofer удаляет данные из буфера (BooferGH *boofer). Векторы буфера становятся пустыми</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00013">apidecoding.cpp:13</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a276918950c514e65e2f0ae4b5aa2de7e"><div class="ttname"><a href="class_api_decoding.html#a276918950c514e65e2f0ae4b5aa2de7e">ApiDecoding::least_squares_polynom</a></div><div class="ttdeci">vector&lt; double &gt; least_squares_polynom(int max_pow)</div><div class="ttdoc">least_squares_polynom расчитывает полином методом наименьших квадратов по данным из BooferGH *boofer</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00028">apidecoding.cpp:28</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_afc642956da1901aa97b9bedb519fc2d8"><div class="ttname"><a href="class_api_decoding.html#afc642956da1901aa97b9bedb519fc2d8">ApiDecoding::boofer</a></div><div class="ttdeci">BooferGH * boofer</div><div class="ttdoc">буфер для хранения градуировочных характеристик</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2apidecoding_8h_source.html#l00079">apidecoding.h:79</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_aabb775a11cc9ddb49da83e3665174794"><div class="ttname"><a href="class_api_decoding.html#aabb775a11cc9ddb49da83e3665174794">ApiDecoding::add_to_boofer</a></div><div class="ttdeci">void add_to_boofer(double x, double y)</div><div class="ttdoc">add_to_boofer добавляет пару элементов в BooferGH *boofer;</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00008">apidecoding.cpp:8</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_aa7620c3ae5f7e89e166380399954b62c"><div class="ttname"><a href="class_api_decoding.html#aa7620c3ae5f7e89e166380399954b62c">ApiDecoding::approx_mistake</a></div><div class="ttdeci">double approx_mistake(vector&lt; double &gt; *polynom_values)</div><div class="ttdoc">approx_mistake - расчёт ошибки аппроксимации</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00055">apidecoding.cpp:55</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a2a783cb2757fb448c68d09478ad4fa2a"><div class="ttname"><a href="class_api_decoding.html#a2a783cb2757fb448c68d09478ad4fa2a">ApiDecoding::split_lagrange_polynom</a></div><div class="ttdeci">vector&lt; double &gt; split_lagrange_polynom(int max_pow)</div><div class="ttdoc">split_lagrange_polynom работает аналогично методу lagrange_polynom, но использует только часть узлов ...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00023">apidecoding.cpp:23</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a47477b24f584d1c726662d0f2b6f7a4b"><div class="ttname"><a href="class_api_decoding.html#a47477b24f584d1c726662d0f2b6f7a4b">ApiDecoding::lagrange_polynom</a></div><div class="ttdeci">vector&lt; double &gt; lagrange_polynom()</div><div class="ttdoc">lagrange_polynom расчитывает интерполяционный полином Лагранжа по данным из BooferGH *boofer</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00018">apidecoding.cpp:18</a></div></div>
<div class="ttc" id="aclass_api_decoding_html_a6d24fa3a483074088e54c4a8177d05c5"><div class="ttname"><a href="class_api_decoding.html#a6d24fa3a483074088e54c4a8177d05c5">ApiDecoding::squared_deviation</a></div><div class="ttdeci">double squared_deviation()</div><div class="ttdoc">squared_deviation расчитывает квадратичное отклонение для данных ГХ</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2apidecoding_8cpp_source.html#l00045">apidecoding.cpp:45</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_66fd516286b6b83c18536a00ebca1f7f.html">project</a></li><li class="navelem"><a class="el" href="dir_110182ca59011fa28841662ec123b9bc.html">include</a></li><li class="navelem"><a class="el" href="alekseev__semen_2project_2include_2apidecoding_8h.html">apidecoding.h</a></li>
    <li class="footer">Документация по Практика. Последние изменения: Ср 12 Июл 2023 16:10:11. Создано системой <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
